﻿using UnityEngine;
using System.Collections;

public class ScrollBackground : MonoBehaviour {

	Vector2 offset = Vector2.zero;
	
	// Update is called once per frame
	void Update () {

		offset.y += Time.deltaTime / 15;

		renderer.material.SetTextureOffset ("_MainTex", offset);
	
	}
}
